package com.njtoyo.taxi.admin.rest.wrapper.open;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class CoordinatesWrapper implements Serializable {
    @ApiModelProperty(value = "司机当前坐标")
    @NotNull(message = "司机当前坐标不能为空")
    private String currentDriverLocate;


    @ApiModelProperty(value = "目的地坐标")
    @NotNull(message = "目的地坐标不能为空")
    private String destination;
}
